Work Request Manager API

(1 review)

API Resources

The WRM API includes the following resources that are available to Work Suppliers:

Name / DescriptionVerb HTTP methodResource
Get API version / Test connectivityGETGET /version
Post an event notification to update a task or activityPOSTPOST /notifications
Get work request information for a specific taskGETGET /tasks/{taskId}
Get schedule (including Work Supplier details)GETGET /schedules
Add a new subscriber to receive event notificationsPOSTPOST /subscribers
Get campaigns (including Work Supplier details)GETGET /campaigns
Determine the work request channel for a set of parametersGETGET /work-channel
Reserve an appointment (not confirmed)POSTPOST /appointments
Reschedule an existing appointmentPUTPUT /appointments/{bookingId}
Cancel an existing appointmentDELETEDELETE /appointments/{bookingId}
Confirm a reserved appointmentPOSTPOST /appointments/{bookingId}/confirm
Get timeslots for an appointmentGETGET /appointments/{bookingId}/timeslots

Event notifications

Updates to tasks and activities are performed by posting events to the notifications feature. The following table lists the available events to Work Suppliers:

EventDescription
CreateTaskEventCreate a new task with associated activities
ReallocateTaskEventReallocate task to another Work Supplier
AcceptTaskEventUpdates the allocation status of a task (Accept)
RejectTaskEventUpdates the allocation status of a task (Reject)
UpdateTaskSupplementaryReferencesEventUpdate the supplementary references of a task
UpdateTaskSourceEventUpdate the source of a task
UpdateTaskAssetsEventUpdate the assets relating to a task
UpdateTaskFileAttachmentsEventUpdate the file attachments of a task
UpdateTaskAdditionalInfosEventUpdate the additional information of a task
PutOnHoldTaskEventPlace a task on hold
ResumeTaskEventTake a task off hold and resume working
CancelTaskEventCancel a task
AddTaskActivityEventAdd a activities to a task
RequestAddTaskActivityEventRequest to have a activities added to a task
AuthoriseRequestAddTaskActivityEventAuthorise activities added to a task
RefuseRequestAddTaskActivityEventRefuse activities added to a task
UpdateTaskRequestAddActivityAdditionalInfosEventAdd additional information to an activity
PutOnHoldTaskActivityEventPlace an activity on hold
RequestCancelTaskActivityEventRequest to cancel an activity
CloseTaskActivityEventClose an activity
UpdateTaskActivityStatusEventModify an activity status
UpdateTaskActivityReviewerEventUpdate the reviewer(s) for an activity
UpdateTaskActivityWorkerEventUpdate the worker(s) for an activity
UpdateTaskActivityScheduleByWorkRequestorEventUpdate an activity schedule by the requestor
UpdateTaskActivityScheduleByWorkSupplierEventUpdate an activity schedule by the supplier
UpdateTaskActivitySiteEventUpdate the sites related to an activity
UpdateTaskActivitySiteContactsEventUpdate the site contacts related to an activity
UpdateTaskActivityOutcomesEventUpdate the outcomes related to an activity
UpdateTaskActivityFileAttachmentsEventUpdate the file attachments of an activity
UpdateRequestAddTaskActivityFileAttachmentsEventAdd file attachments to an activity

Receiving notifications

Event notifications posted by the Work Requestor are notified to the Work Supplier through the WRM and to the subscribed webhook address, see How to use the WRM API. The following table lists the notification types the Work Supplier webhook needs to listen for:

Note: In all cases, the associated task is attached to the notification.

Notification typeDescription
CreateTaskNotifyA new task has been created and allocated to the Work Supplier.
SendTaskNotifyAn existing task has been allocated to the Work Supplier.
ReallocateTaskNotifyAn existing task has been reallocated to the Work Supplier.
UpdateTaskSupplementaryReferencesNotifySupplementary references for a task have been updated.
UpdateTaskSourceNotifyThe source of a task has been updated.
UpdateTaskAssetsNotifyAssets for a task have been updated.
UpdateTaskFileAttachmentsNotifyFile attachments to a task have been updated.
UpdateTaskAdditionalInfosNotifyAdditional information on a task has been updated.
PutOnHoldTaskNotifyA task has been put on hold.
ResumeTaskNotifyA task previously put on hold is to resume.
CancelTaskNotifyA task has been cancelled.
CloseTaskNotifyA task has been closed.
AddTaskActivityNotifyAn activity has been added to a task.
RequestAddTaskActivityNotifyA request has been made to add an activity to a task.
AuthoriseRequestAddTaskActivityNotifyAuthorisation to add an activity to a task has been granted.
RefuseRequestAddTaskActivityNotifyAuthorisation to add an activity to a task has been rejected.
UpdateTaskRequestAddActivityAdditionalInfosNotifyAdditional information on an activity has been updated.
PutOnHoldTaskActivityNotifyAn activity has been put on hold.
RequestCancelTaskActivityNotifyA request has been made to cancel an activity.
CloseTaskActivityNotifyAn activity has been closed.
UpdateTaskActivityStatusNotifyThe status of an activity has been updated.
UpdateTaskActivityWorkerNotifyThe work allocated to an activity has been updated.
UpdateTaskActivityReviewerNotifyThe reviewer allocated to an activity has been updated.
UpdateTaskActivityScheduleByWorkRequestorNotifyThe schedule for an activity has been updated by the Work Requestor.
UpdateTaskActivitySiteNotifyThe site for an activity has been updated.
UpdateTaskActivitySiteContactsNotifyThe site contact information for an activity has been updated.
UpdateTaskActivityOutcomesNotifyThe outcomes for an activity have been updated.
UpdateTaskActivityFileAttachmentsNotifyFile attachments to an activity have been updated.

Reviews